package uva;

import java.io.Serializable;

import rice.p2p.commonapi.NodeHandle;

public class DirectMessage implements Serializable{
	
	public DirectMessage(){}
	
	public DirectMessage(NodeHandle origin, String message){
		_origin = origin;
		_message = message;
	}
	
	private NodeHandle _origin;

	NodeHandle getOrigin() {
		return _origin;
	}

	void setOrigin(NodeHandle origin) {
		this._origin = origin;
	}
	
	String getMessage() {
		return _message;
	}

	void setMessage(String message) {
		this._message = message;
	}

	private String _message;
}
